HTML Object


 Html Object is a full Browser object in MMB. It uses Microsoft IE control. - example html_browser.mbd
this dependency on IE is a disadvantage, however, the below advantages of using IE core library outweigh this small disadvantage...

MMB specific issues:

 

Hide Border and Always Hide Vertical Scroll Bar
You can Hide the border of the control and eventually hide the vertical scrollbar. This way you can display HTML file in your MMB project without disturbing  the look of your application.

 

Tip 1:
You can use a special links in your HTML files to tell MMB player to go to other MMB page or run script
The syntax:

<a href="page:Page 2">Go To Page 2</a>
To move to specific page of MMB project or use next, previous, first or back

<a href="script:Script1"> Run Script1</a>
To run specific project on current page (or oher pages using script:Page 2::Script syntax)

Tip 2
You can use Embedded html files. If you use it don't forget that you have to embed all the images and related pages your html file use or link to. Embedded files can't be in different directories so all html files and images must be in the same directory.

!!! Better solution than just using the pure htm/html files with a separate linked Images seems to be an IE option to save the entire HTML page with all images or flash movies into a single "Web Archive" (mht) file. In IE you can save entire HTML page into a single MHT file via menu File..SaveAs. Then just embed that web archive file into your project or leave it external, if the file is too big for embedding. Then you can load that web archive via HTML properties (in a design time) or via Browser script function.

Note:
Browser Object needs IE 4.x-5.x installed on users machine. If user doesn't have IE, then the object will launch default html viewer.

LIMITATION! The TAB key to jump between the HTML form fields cannot be used in MMB HTML object. It's because HTML object is just a child window of MMB project (parent) window, which grabs all users shortcuts. At the moment, there is not a known solution to this issue.